Optimizing neural networks for risk assessment

ABSTRACT

Certain embodiments involve generating or optimizing a neural network for risk assessment. The neural network can be generated using a relationship between various predictor variables and an outcome (e.g., a condition&#39;s presence or absence). The neural network can be used to determine a relationship between each of the predictor variables and a risk indicator. The neural network can be optimized by iteratively adjusting the neural network such that a monotonic relationship exists between each of the predictor variables and the risk indicator. The optimized neural network can be used both for accurately determining risk indicators using predictor variables and determining adverse action codes for the predictor variables, which indicate an effect or an amount of impact that a given predictor variable has on the risk indicator. The neural network can be used to generate adverse action codes upon which consumer behavior can be modified to improve the risk indicator score.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 16/152,936, entitled “Optimizing Neural Networks For Risk Assessment,” filed on Oct. 5, 2018, which is a continuation of U.S. application Ser. No. 15/560,401 now U.S. Pat. No. 10,133,980, entitled “Optimizing Neural Networks For Risk Assessment,” filed on Sep. 21, 2017, which is a U.S. National Stage entry under 35 U.S.C. § 371 of International Application No. PCT/US2016/024134, entitled “Optimizing Neural Networks For Risk Assessment,” filed on Mar. 25, 2016, which claims priority to U.S. Provisional Application No. 62/192,260, entitled “Optimizing Neural Networks For Risk Assessment,” filed on Jul. 14, 2015, and U.S. Provisional Application No. 62/139,445, entitled “Optimizing Neural Networks For Risk Assessment”, filed on Mar. 27, 2015, all of which are incorporated by reference in their entireties for all purposes.

TECHNICAL FIELD

The present disclosure relates generally to artificial intelligence. More specifically, but not by way of limitation, this disclosure relates to machine learning using artificial neural networks and emulating intelligence to optimize neural networks for assessing risks.

BACKGROUND

In machine learning, artificial neural networks can be used to perform one or more functions (e.g., acquiring, processing, analyzing, and understanding various inputs in order to produce an output that includes numerical or symbolic information). A neural network includes one or more algorithms and interconnected nodes that exchange data between one another. The nodes can have numeric weights that can be tuned based on experience, which makes the neural network adaptive and capable of learning. For example, the numeric weights can be used to train the neural network such that the neural network can perform the one or more functions on a set of inputs and produce an output or variable that is associated with the set of inputs.

SUMMARY

Various embodiments of the present disclosure provide systems and methods for optimizing a neural network for risk assessment. The neural network can model relationships between various predictor variables and multiple outcomes including, but not limited to, a positive outcome indicating the satisfaction of a condition or a negative outcome indicating a failure to satisfy a condition. The neural network can be optimized by iteratively adjusting the neural network such that a monotonic relationship exists between each of the predictor variables and the risk indicator. In some aspects, the optimized neural network can be used both for accurately determining risk indicators using predictor variables and determining adverse action codes for the predictor variables, which indicate an effect or an amount of impact that a given predictor variable has on the risk indicator.

This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used in isolation to determine the scope of the claimed subject matter. The subject matter should be understood by reference to appropriate portions of the entire specification, any or all drawings, and each claim.

The foregoing, together with other features and examples, will become more apparent upon referring to the following specification, claims, and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram depicting an example of a computing environment in which a risk assessment application operates according to certain aspects of the present disclosure.

FIG. 2 is a block diagram depicting an example of the risk assessment application of FIG. 1 according to certain aspects of the present disclosure.

FIG. 3 is a flow chart depicting an example of a process for optimizing a neural network for risk assessment according to certain aspects of the present disclosure.

FIG. 4 is a diagram depicting an example of a single-layer neural network that can be generated and optimized by the risk assessment application of FIGS. 1 and 2 according to certain aspects of the present disclosure.

FIG. 5 is a diagram depicting an example of a multi-layer neural network that can be generated and optimized by the risk assessment application of FIGS. 1 and 2 according to certain aspects of the present disclosure.

FIG. 6 is a flow chart depicting an example of a process for using a neural network, which can be generated and optimized by the risk assessment application of FIGS. 1 and 2, to identify predictor variables with larger impacts on a risk indicator according to certain aspects of the present disclosure.

FIG. 7 is a block diagram depicting an example of a computing system that can be used to execute an application for optimizing a neural network for risk assessment according to certain aspects of the present disclosure.

DETAILED DESCRIPTION OF THE INVENTION

Certain aspects and features of the present disclosure are directed to optimizing a neural network for risk assessment. The neural network can include one or more computer-implemented algorithms or models used to perform a variety of functions including, for example, obtaining, processing, and analyzing various predictor variables in order to output a risk indicator associated with the predictor variables. The neural network can be represented as one or more hidden layers of interconnected nodes that can exchange data between one another. The layers may be considered hidden because they may not be directly observable in the normal functioning of the neural network. The connections between the nodes can have numeric weights that can be tuned based on experience. Such tuning can make neural networks adaptive and capable of “learning.” Tuning the numeric weights can involve adjusting or modifying the numeric weights to increase the accuracy of a risk indicator provided by the neural network. In some aspects, the numeric weights can be tuned through a process referred to as training.

In some aspects, a risk assessment application can generate or optimize a neural network for risk assessment. For example, the risk assessment application can receive various predictor variables and determine a relationship between each predictor variable and an outcome such as, but not limited to, a positive outcome indicating that a condition is satisfied or a negative outcome indicating that the condition is not satisfied. The risk assessment application can generate the neural network using the relationship between each predictor variable and the outcome. The neural network can then be used to determine a relationship between each of the predictor variables and a risk indicator.

Optimizing the neural network can include iteratively adjusting the number of nodes in the neural network such that a monotonic relationship exists between each of the predictor variables and the risk indicator. Examples of a monotonic relationship between a predictor variable and a risk indicator include a relationship in which a value of the risk indicator increases as the value of the predictor variable increases or a relationship in which the value of the risk indicator decreases as the value of the predictor variable increases. The neural network can be optimized such that a monotonic relationship exists between each predictor variable and the risk indicator. The monotonicity of these relationships can be determined based on a rate of change of the value of the risk indicator with respect to each predictor variable.

Optimizing the neural network in this manner can allow the neural network to be used both for accurately determining risk indicators using predictor variables and determining adverse action codes for the predictor variables. For example, an optimized neural network can be used for both determining a credit score associated with an entity (e.g., an individual or business) based on predictor variables associated with the entity. A predictor variable can be any variable predictive of risk that is associated with an entity. Any suitable predictor variable that is authorized for use by an appropriate legal or regulatory framework may be used. Examples of predictor variables include, but are not limited to, variables indicative of one or more demographic characteristics of an entity (e.g., age, gender, income, etc.), variables indicative of prior actions or transactions involving the entity (e.g., information that can be obtained from credit files or records, financial records, consumer records, or other data about the activities or characteristics of the entity), variables indicative of one or more behavioral traits of an entity, etc. For example, the neural network can be used to determine the amount of impact that each predictor variable has on the value of the risk indicator after determining a rate of change of the value of the risk indicator with respect to each predictor variable. An adverse action code can indicate an effect or an amount of impact that a given predictor variable has on the value of the credit score or other risk indicator (e.g., the relative negative impact of the predictor variable on a credit score or other risk indicator).

In some aspects, machine-learning techniques, including, for example, using and optimizing artificial neural networks, can provide performance improvements as compared to logistic regression techniques to develop reports that quantify risks associated with individuals or other entities. For example, in a credit scoring system, credit scorecards and other credit reports used for credit risk management can be generated using logistic regression models, where decision rules are used to determine adverse action code assignments that indicate the rationale for one or more types of information in a credit report (e.g., the aspects of an entity that resulted in a given credit score). Adverse action code assignment algorithms used for logistic regression may not be applicable in machine-learning techniques due to the modeled non-monotonicities of the machine-learning techniques. Adverse action code assignments may be inaccurate if performed without accounting for the non-monotonicity. By contrast, neural networks can be optimized to account for non-monotonicity, thereby allowing the neural network to be used for providing accurate credit scores and associated adverse action codes.

These illustrative examples are given to introduce the reader to the general subject matter discussed here and are not intended to limit the scope of the disclosed concepts. The following sections describe various additional features and examples with reference to the drawings in which like numerals indicate like elements, and directional descriptions are used to describe the illustrative examples but, like the illustrative examples, should not be used to limit the present disclosure.

FIG. 1 is a block diagram depicting an example of a computing environment 100 in which a risk assessment application 102 operates. Computing environment 100 can include the risk assessment application 102, which is executed by a risk assessment server 104. The risk assessment application 102 can include one or more modules for acquiring, processing, and analyzing data to optimize a neural network for assessing risk (e.g., a credit score) and identifying contributions of certain predictors to the assessed risk (e.g., adverse action codes for the credit score). The risk assessment application 102 can obtain the data used for risk assessment from the predictor variable database 103, the user device 108, or any other source. In some aspects, the risk assessment server 104 can be a specialized computer or other machine that processes data in computing environment 100 for generating or optimizing a neural network for assessing risk.

The computing environment 100 can also include a server 106 that hosts a predictor variable database 103, which is accessible by a user device 108 via the network 110. The predictor variable database 103 can store data to be accessed or processed by any device in the computing environment 100 (e.g., the risk assessment server 104 or the user device 108). The predictor variable database 103 can also store data that has been processed by one or more devices in the computing environment 100.

The predictor variable database 103 can store a variety of different types of data organized in a variety of different ways and from a variety of different sources. For example, the predictor variable database 103 can include risk data 105. The risk data 105 can be any data that can be used for risk assessment. As an example, the risk data can include data obtained from credit records, credit files, financial records, or any other data that can be used to for assessing a risk.

The user device 108 may include any computing device that can communicate with the computing environment 100. For example, the user device 108 may send data to the computing environment or a device in the computing environment (e.g., the risk assessment application 102 or the predictor variable database 103) to be stored or processed. In some aspects, the network device is a mobile device (e.g., a mobile telephone, a smartphone, a PDA, a tablet, a laptop, etc.). In other examples, the user device 108 is a non-mobile device (e.g., a desktop computer or another type of network device).

Communication within the computing environment 100 may occur on, or be facilitated by, a network 110. For example, the risk assessment application 102, the user device 108, and the predictor variable database 103 may communicate (e.g., transmit or receive data) with each other via the network 110. The computing environment 100 can include one or more of a variety of different types of networks, including a wireless network, a wired network, or a combination of a wired and wireless network. Although the computing environment 100 of FIG. 1 is depicted as having a certain number of components, in other examples, the computing environment 100 has any number of additional or alternative components. Further, while FIG. 1 illustrates a particular arrangement of the risk assessment application 102, user device 108, predictor variable database 103, and network 110, various additional arrangements are possible. For example, the risk assessment application 102 can directly communicate with the predictor variable database 103, bypassing the network 110. Furthermore, while FIG. 1 illustrates the risk assessment application 102 and the predictor variable database 103 as separate components on different servers, in some embodiments, the risk assessment application 102 and the predictor variable database 103 are part of a single system hosted on one or more servers.

The risk assessment application can include one or more modules for generating and optimizing a neural network. For example, FIG. 2 is a block diagram depicting an example of the risk assessment application 102 of FIG. 1. The risk assessment application 102 depicted in FIG. 2 can include various modules 202, 204, 206, 208, 210, 212 for generating and optimizing a neural network for assessing risk. Each of the modules 202, 204, 206, 208, 210, 212 can include one or more instructions stored on a computer-readable storage medium and executable by processors of one or more computing devices (e.g., the risk assessment server 104). Executing the instructions causes the risk assessment application 102 to generate a neural network and optimize the neural network for assessing risk.

The risk assessment application 102 can use the predictor variable module 202 for obtaining or receiving data. In some aspects, the predictor variable module 202 can include instructions for causing the risk assessment application 102 to obtain or receive the data from a suitable data structure, such as the predictor variable database 103 of FIG. 1. The predictor variable module 202 can use any predictor variables or other data suitable for assessing one or more risks associated with an entity. Examples of predictor variables can include data associated with an entity that describes prior actions or transactions involving the entity (e.g., information that can be obtained from credit files or records, financial records, consumer records, or other data about the activities or characteristics of the entity), behavioral traits of the entity, demographic traits of the entity, or any other traits of that may be used to predict risks associated with the entity. In some aspects, predictor variables can be obtained from credit files, financial records, consumer records, etc.

In some aspects, the risk assessment application 102 can include a predictor variable analysis module 204 for analyzing various predictor variables. The predictor variable analysis module 204 can include instructions for causing the risk assessment application 102 to perform various operations on the predictor variables for analyzing the predictor variables.

For example, the predictor variable analysis module 204 can perform an exploratory data analysis, in which the predictor variable analysis module 204 analyzes a distribution of one or more predictor variables and determines a bivariate relationship or correlation between the predictor variable and an odds index or a good/bad odds ratio. The odds index can indicate a ratio of positive or negative outcomes associated with the predictor variable. A positive outcome can indicate that a condition has been satisfied. A negative outcome can indicate that the condition has not been satisfied. As an example, the predictor variable analysis module 204 can perform the exploratory data analysis to identify trends associated with predictor variables and a good/bad odds ratio (e.g., the odds index).

In this example, a bivariate relationship between the predictor variable and the odds index indicates a measure of the strength of the relationship between the predictor variable and the odds index. In some aspects, the bivariate relationship between the predictor variable and the odds index can be used to determine (e.g., quantify) a predictive strength of the predictor variable with respect to the odds index. The predictive strength of the predictor variable indicates an extent to which the predictor variable can be used to accurately predict a positive or negative outcome or a likelihood of a positive or negative outcome occurring based on the predictor variable.

For instance, the predictor variable can be a number of times that an entity (e.g., a consumer) fails to pay an invoice within 90 days. A large value for this predictor variable (e.g., multiple delinquencies) can result in a high number of negative outcomes (e.g., default on the invoice), which can decrease the odds index (e.g., result in a higher number of adverse outcomes, such as default, across one or more consumers). As another example, a small value for the predictor variable (e.g., fewer delinquencies) can result in a high positive outcome (e.g., paying the invoice on time) or a lower number of negative outcomes, which can increase the odds index (e.g., result in a lower number of adverse outcomes, such as default, across one or more consumers). The predictor variable analysis module 204 can determine and quantify an extent to which the number of times that an entity fails to pay an invoice within 90 days can be used to accurately predict a default on an invoice or a likelihood that that will default on the invoice.

In some aspects, the predictor variable analysis module 204 can develop an accurate model of a relationship between one or more predictor variables and one or more positive or negative outcomes. The model can indicate a corresponding relationship between the predictor variables and an odds index or a corresponding relationship between the predictor variables and a risk indicator (e.g., a credit score associated with an entity). As an example, the risk assessment application 102 can develop a model that accurately indicates that a consumer having more financial delinquencies is a higher risk than a consumer having fewer financial delinquencies.

The risk assessment application 102 can also include a treatment module 206 for causing a relationship between a predictor variable and an odds index to be monotonic. Examples of a monotonic relationship between the predictor variable and the odds index include a relationship in which a value of the odds index increases as a value of the predictor variable increases or a relationship in which the value of the odds index decreases as the value the predictor variable increases. In some aspects, the treatment module 206 can execute one or more algorithms that apply a variable treatment, which can cause the relationship between the predictor variable and the odds index to be monotonic. Examples of functions used for applying a variable treatment include (but are not limited to) binning, capping or flooring, imputation, substitution, recoding variable values, etc.

The risk assessment application 102 can also include a predictor variable reduction module 208 for identifying or determining a set of predictor variables that have a monotonic relationship with one or more odds indices. For example, the treatment module 206 may not cause a relationship between every predictor variable and the odds index to be monotonic. In such examples, the predictor variable reduction module 208 can select a set of predictor variables with monotonic relationships to one or more odds indices. The predictor variable reduction module 208 can execute one or more algorithms that apply one or more preliminary variable reduction techniques for identifying the set of predictor variables having the monotonic relationship with the one or more odds indices. Preliminary variable reduction techniques can include rejecting or removing predictor variables that do not have a monotonic relationship with one or more odds indices.

In some aspects, the risk assessment application 102 can include a neural network module 210 for generating a neural network. The neural network module 210 can include instructions for causing the risk assessment application 102 to execute one or more algorithms to generate the neural network. The neural network can include one or more computer-implemented algorithms or models. Neural networks can be represented as one or more layers of interconnected nodes that can exchange data between one another. The connections between the nodes can have numeric weights that can be tuned based on experience. Such tuning can make neural networks adaptive and capable of learning. Tuning the numeric weights can increase the accuracy of output provided by the neural network. In some aspects, the risk assessment application 102 can tune the numeric weights in the neural network through a process referred to as training (e.g., using the optimization module 212 described below).

In some aspects, the neural network module 210 includes instructions for causing the risk assessment application 102 to generate a neural network using a set of predictor variables having a monotonic relationship with an associated odds index. For example, the risk assessment application 102 can generate the neural network such that the neural network models the monotonic relationship between one or more odds indices and the set of predictor variables identified by the predictor variable reduction module 208.

The risk assessment application 102 can generate any type of neural network for assessing risk. In some examples, the risk assessment application can generate a neural network based on one or more criteria or rules obtained from industry standards.

For example, the risk assessment application can generate a feed-forward neural network. A feed-forward neural network can include a neural network in which every node of the neural network propagates an output value to a subsequent layer of the neural network. For example, data may move in one direction (forward) from one node to the next node in a feed-forward neural network.

The feed-forward neural network can include one or more hidden layers of interconnected nodes that can exchange data between one another. The layers may be considered hidden because they may not be directly observable in the normal functioning of the neural network. For example, input nodes corresponding to predictor variables can be observed by accessing the data used as the predictor variables, and nodes corresponding to risk assessments can be observed as outputs of an algorithm using the neural network. But the nodes between the predictor variable inputs and the risk assessment outputs may not be readily observable, though the hidden layer is a standard feature of neural networks.

In some aspects, the risk assessment application 102 can generate the neural network and use the neural network for both determining a risk indicator (e.g., a credit score) based on predictor variables and determining an impact or an amount of impact of the predictor variable on the risk indicator. For example, the risk assessment application 102 can include an optimization module 212 for optimizing neural network generated using the neural network module 210 so that the both the risk indicator and the impact of a predictor variable can be identified using the same neural network.

The optimization module 212 can optimize the neural network by executing one or more algorithms that apply a coefficient method to the generated neural network to modify or train the generated neural network. In some aspects, the coefficient method is used to analyze a relationship between a credit score or other predicted level of risk and one or more predictor variables used to obtain the credit score. The coefficient method can be used to determine how one or more predictor variables influence the credit score or other risk indicator. The coefficient method can ensure that a modeled relationship between the predictor variables and the credit score has a trend that matches or otherwise corresponds to a trend identified using an exploratory data analysis for a set of sample consumer data.

In some aspects, the outputs from the coefficient method can be used to adjust the neural network. For example, if the exploratory data analysis indicates that the relationship between one of the predictor variables and an odds ratio (e.g., an odds index) is positive, and the neural network shows a negative relationship between a predictor variable and a credit score, the neural network can be modified. For example, the predictor variable can be eliminated from the neural network or the architecture of the neural network can be changed (e.g., by adding or removing a node from a hidden layer or increasing or decreasing the number of hidden layers).

For example, the optimization module 212 can include instructions for causing the risk assessment application 102 to determine a relationship between a risk indicator (e.g., a credit score) and one or more predictor variables used to determine the risk indicator. As an example, the optimization module 212 can determine whether a relationship between each of the predictor variables and the risk indicator is monotonic. A monotonic relationship exists between each of the predictor variables and the risk indicator either when a value of the risk indicator increases as a value of each of the predictor variables increases or when the value of the risk indicator decreases as the value of each of the predictor variable increases.

In some aspects, the optimization module 212 includes instructions for causing the risk assessment application to determine that predictor variables that have a monotonic relationship with the risk indicator are valid for the neural network. For any predictor variables that are not valid (e.g., do not have a monotonic relationship with the risk indicator), the optimization module 212 can cause the risk assessment application 102 to optimize the neural network by iteratively adjusting the predictor variables, the number of nodes in the neural network, or the number of hidden layers in the neural network until a monotonic relationship exists between each of the predictor variables and the risk indicator. Adjusting the predictor variables can include eliminating the predictor variable from the neural network. Adjusting the number of nodes in the neural network can include adding or removing a node from a hidden layer in the neural network. Adjusting the number of hidden layers in the neural network can include adding or removing a hidden layer in the neural network.

The optimization module 212 can include instructions for causing the risk assessment application 102 to terminate the iteration if one or more conditions are satisfied. In one example, the iteration can terminate if the monotonic relationship exists between each of the predictor variables and the risk indicator. In another example, the iteration can terminate if a relationship between each of the predictor variables and the risk indicator corresponds to a relationship between each of the predictor variables and an odds index (e.g., the relationship between each of the predictor variables and the odds index using the predictor variable analysis module 204 as described above). Additionally or alternatively, the iteration can terminate if the modeled relationship between the predictor variables and the risk indicator has a trend that is the same as or otherwise corresponds to a trend identified using the exploratory data analysis (e.g., the exploratory data analysis conducted using the predictor variable analysis module 204).

In some aspects, the optimization module 212 includes instructions for causing the risk assessment application 102 to determine an effect or an impact of each predictor variable on the risk indicator after the iteration is terminated. For example, the risk assessment application 102 can use the neural network to incorporate non-linearity into one or more modeled relationships between each predictor variable and the risk indicator. The optimization module 212 can include instructions for causing the risk assessment application 102 to determine a rate of change (e.g., a derivative or partial derivative) of the risk indicator with respect to each predictor variable through every path in the neural network that each predictor variable can follow to affect the risk indicator. In some aspects, the risk assessment application 102 determines a sum of derivatives for each connection of a predictor variable with the risk indicator. In some aspects, the risk assessment application can analyze the partial derivative for each predictor variable across a range of interactions within a neural network model and a set of sample data for the predictor variable. An example of sample data is a set of values of the predictor variable that are obtained from credit records or other consumer records. The risk assessment application can determine that the combined non-linear influence of each predictor variable is aligned with decision rule requirements used in a relevant industry (e.g., the credit reporting industry). For example, the risk assessment application can identify adverse action codes from the predictor variables and the consumer can modify his or her behavior relative to the adverse action codes such that the consumer can improve his or her credit score.

If the risk assessment application 102 determines that the rate of change is monotonic (e.g., that the relationships modeled via the neural network match the relationships observed via an exploratory data analysis), the risk assessment application 102 may use the neural network to determine and output an adverse action code for one or more of the predictor variables. The adverse action code can indicate the effect or the amount of impact that a given predictor variable has on the risk indicator. In some aspects, the optimization module 212 can determine a rank of each predictor variable based on the impact of each predictor variable on the risk indicator. The risk assessment application 102 may output the rank of each predictor variable.

Optimizing the neural network in this manner can allow the risk assessment application 102 to use the neural network to accurately determine risk indicators using predictor variables and accurately determine an associated adverse action code for each of the predictor variables. The risk assessment application 102 can output one or more of the risk indicator and the adverse code associated with each of the predictor variables. In some applications used to generate credit decisions, the risk assessment application 102 can use an optimized neural network to provide recommendations to a consumer based on adverse action codes. The recommendations may indicate one or more actions that the consumer can take to improve the change the risk indicator (e.g., improve a credit score).

FIG. 3 is a flow chart depicting an example of a process for optimizing a neural network for risk assessment. For illustrative purposes, the process is described with respect to the examples depicted in FIGS. 1 and 2. Other implementations, however, are possible.

In block 302, multiple predictor variables are obtained. In some aspects, the predictor variables are obtained by a risk assessment application (e.g., the risk assessment application 102 using the predictor variable analysis module 204 of FIG. 2). For example, the risk assessment application can obtain the predictor variables from a predictor variable database (e.g., the predictor variable database 103 of FIG. 1). In some aspects, the risk assessment application can obtain the predictor variables from any other data source. Examples of predictor variables can include data associated with an entity that describes prior actions or transactions involving the entity (e.g., information that can be obtained from credit files or records, financial records, consumer records, or other data about the activities or characteristics of the entity), behavioral traits of the entity, demographic traits of the entity, or any other traits of that may be used to predict risks associated with the entity. In some aspects, predictor variables can be obtained from credit files, financial records, consumer records, etc.

In block 304, a correlation between each predictor variable and a positive or negative outcome is determined. In some aspects, the risk assessment application determines the correlation (e.g., using the predictor variable analysis module 204 of FIG. 2). For example, the risk assessment application can perform an exploratory data analysis on a set of candidate predictor variables, which involves analyzing each predictor variable and determines a bivariate relationship or correlation between each predictor variable and an odds index. The odds index indicates a ratio of positive or negative outcomes associated with the predictor variable. In some aspects, the bivariate relationship between the predictor variable and the odds index can be used to determine (e.g., quantify) a predictive strength of the predictor variable with respect to the odds index. The predictive strength of the predictor variable can indicate an extent to which the predictor variable can be used to accurately predict a positive or negative outcome or a likelihood of a positive or negative outcome occurring based on the predictor variable.

In some aspects, in block 304, the risk assessment application causes a relationship between each of the predictor variables and the odds index to be monotonic (e.g., using the treatment module 206 of FIG. 2). A monotonic relationship exists between the predictor variable and the odds index if a value of the odds index increases as a value of the predictor variable increases or if the value of the odds index decreases as the value the predictor variable increases.

The risk assessment application can identify or determine a set of predictor variables that have a monotonic relationship with one or more odds indices (e.g., using the predictor variable reduction module 208 of FIG. 2). In some aspects, the risk assessment application can also reject or remove predictor variables that do not have a monotonic relationship with one or more odds indices (e.g., predictor variables not included in the set).

In block 306, a neural network is generated for determining a relationship between each predictor variable and a risk indicator based on the correlation between each predictor variable and a positive or negative outcome (e.g., the correlation determined in block 304). In some aspects, the risk assessment application can generate the neural network using, for example, the neural network module 210 of FIG. 2.

The neural network can include input nodes corresponding to a set of predictor variables having a monotonic relationship with an associated odds index (e.g., the set of predictor variables identified in block 304). For example, the risk assessment application can generate the neural network such that the neural network models the monotonic relationship between the set of predictor variables and one or more odds indices.

The risk assessment application can generate any type of neural network. For example, the risk assessment application can generate a feed-forward neural network having a single layer of hidden nodes or multiple layers of hidden nodes. In some examples, the risk assessment application can generate the neural network based on one or more criteria or decision rules obtained from a relevant financial industry, company, etc.

As an example, FIG. 4 is a diagram depicting an example of a single-layer neural network 400 that can be generated and optimized by the risk assessment application 102 of FIGS. 1 and 2. In the example depicted in FIG. 4, the single-layer neural network 400 can be a feed-forward single-layer neural network that includes n input predictor variables and m hidden nodes. For example, the single-layer neural network 400 includes inputs X₁ through X_(n). The input nodes X₁ through X_(n) represent predictor variables, which can be obtained as inputs 103 ₁ through 103 _(n) (e.g., from predictor variable database 103 of FIG. 1). The node Y in FIG. 4 represents a risk indicator that can be determined using the predictor variables. The example of a single-layer neural network 400 depicted in FIG. 4 includes a single layer of hidden nodes H₁ through H_(m) which represent intermediate values. But neural networks with any number of hidden layers can be optimized using the operations described herein.

In some aspects, the single-layer neural network 400 uses the predictor variables X₁ through X_(n) as input values for determining the intermediate values H₁ through H_(m). For example, the single-layer neural network 400 depicted in FIG. 4 uses the numeric weights or coefficients β₁₁ through β_(nm) to determine the intermediate values H₁ through H_(m) based on predictor variables X₁ through X_(n). The single-layer neural network then uses numeric weights or coefficients δ₁ through δ_(m) to determine the risk indicator Y based on the intermediate values H₁ through H_(m). In this manner, the single-layer neural network 400 can map the predictor variables X₁ through X_(n) by receiving the predictor variables X₁ through X_(n), providing the predictor variables X₁ through X_(n) to the hidden nodes H₁ through H_(m) to be transformed into intermediate values using coefficients β₁₁ through β_(nm), transforming the intermediate variables H₁ through H_(m) using the coefficients δ₁ through δ_(m), and providing the risk indicator Y.

In the single-layer neural network 400 depicted in FIG. 4, the mapping β_(ij): X_(i)→H_(j) provided by each coefficient β maps the i^(th) predictor variable to j^(th) hidden node, where i has values from 0 to n and j has values from 1 to m. The mapping δ_(j): H_(i)→Y maps the j^(th) hidden node to an output (e.g., a risk indicator). In the example depicted in FIG. 4, each of the hidden nodes H₁ through H_(m) is modeled as a logistic function of the predictor variables X_(i) and P(Y=1) is a logistic function of the hidden nodes. For example, the risk assessment application can use the following equations to represent the various nodes and operations of the single-layer neural network 400 depicted in FIG. 4:

$\begin{matrix} {{H_{j} = \frac{1}{1 + {\exp\left( {{- X}\beta^{j}} \right)}}},{{P\left( {Y = 1} \right)} = \frac{1}{1 + {\exp\;\left( {{- H}\;\delta} \right)}}},} & (1) \end{matrix}$ X=[1,X ₁ , . . . ,X _(n)],H=[1,H ₁ , . . . ,H _(m)],  (2) β^(j)=[β_(0j),β_(1j), . . . ,β_(nj)]^(T),β=[δ₀,δ₁, . . . ,δ_(m)]^(T).  (3)

The modeled output probability P(Y=1) can be monotonic with respect to each of the predictor variables X₁ through X_(n) in the single-layer neural network 400. In credit decision applications, the modeled output probability P(Y=1) can be monotonic for each of the consumers (e.g., individuals or other entities) in the sample data set used to generate the neural network model.

In some aspects, the risk assessment application (e.g., the risk assessment application 102 of FIGS. 1 and 2) can use the single-layer neural network 400 to determine a value for the risk indicator Y. As an example, in credit decision applications, the risk indicator Y may be a modeled probability of a binary random variable associated with the risk indicator and can be continuous with respect to the predictor variables X₁ through X_(n). In some aspects, the risk assessment application can use the feed-forward neural network 400 having a single hidden layer that is monotonic with respect to each predictor variable used in the neural network for risk assessment. The single-layer neural network 400 can be used by the risk assessment application to determine a value for a continuous random variable P(Y=1) that represents a risk indicator or other output probability. For example, in credit decisioning applications, P(Y=1) may be the modeled probability of a binary random variable associated with risk, and can be continuous with respect to the predictor variables.

In some aspects, a single-layer neural network (e.g., the single-layer neural network 400 of FIG. 4) may be dense in the space of continuous functions, but residual error may exist in practical applications. For example, in credit decision applications, the input predictor variables X₁ through X_(n) may not fully account for consumer behavior and may only include a subset of dimension captured by a credit file. In some aspects, the performance of a neural network can be improved by applying a more general feed-forward neural network with multiple hidden layers.

For example, FIG. 5 is a diagram depicting an example of multi-layer neural network 500 that can be generated and optimized by the risk assessment application 102 of FIGS. 1 and 2. In the example depicted in FIG. 5, the multi-layer neural network 500 is a feed-forward neural network. The neural network 500 includes n input nodes that represent predictor variables, m_(k) hidden nodes in the k^(th) hidden layer, and p hidden layers. The neural network 500 can have any differentiable sigmoid activation function, φ:

→

that accepts real number inputs and outputs a real number. Examples of activation functions include, but are not limited to the logistic, arc-tangent, and hyperbolic tangent functions. These activation functions are implemented in numerous statistical software packages to fit neural networks.

The input nodes X₁ through X_(n) represent predictor variables, which can be obtained as inputs 103 ₁ through 103 _(n) (e.g., from predictor variable database 103 of FIG. 1). The node Y in FIG. 5 represents a risk indicator that can be determined using the predictor variables X₁ through X_(n).

In the multi-layer neural network 500, the variable H_(j) ^(k) can denote the j^(th) node in the k^(th) hidden layer. For convenience, denote H_(i) ⁰=X_(i) and m₀=n. In FIG. 5, β_(ij) ^(k): H_(i) ^(k-1)→H_(i) ^(k), where i=0, . . . , m_(k-1), j=1, . . . , m_(k), and k=1, p, is the mapping of the i^(th) node in the (k−1)^(th) layer to the j^(th) node in the k^(th) layer. Furthermore, δ_(i): H_(j) ^(p)→Y, where j=0, . . . , m_(p), is the mapping of the j^(th) node in the p^(th) hidden layer to the output probability. The model depicted in FIG. 5 is then specified as: H _(j) ^(k)=φ(H ^(k-1)β._(j) ^(k)),P(Y=1)=φ(H ^(p)δ),  (4) H ⁰ =X=[1,X ₁ , . . . ,X _(n)],H ^(k)=[1,H ₁ ^(k) , . . . ,H _(m) _(k) ^(k)],  (5) β._(j) ^(k)=[β_(0j) ^(k),β_(1j) ^(k), . . . ,β_(m) _(k-1) ^(j)],δ=[δ₀,δ₁, . . . ,δ_(m) _(p) ]^(T)  (6)

Similar to the embodiment in FIG. 4 described above having a single hidden layer, the modeling process of FIG. 5 can produce models of the form represented in FIG. 5 that are monotonic in every predictor variable.

Returning to FIG. 3, in block 308, a relationship between each predictor variable and a risk indicator is assessed. In some aspects, the risk assessment application can determine the relationship between each predictor variable and the risk indicator (e.g., using the optimization module 212 of FIG. 2).

For example, the risk assessment application can determine whether the modeled score P(Y=1) exhibits a monotonic relationship with respect to each predictor variable X_(i). A monotonic relationship exists between each of the predictor variables and the risk indicator when either: i) a value of the risk indicator increases as a value of each of the predictor variables increases; or ii) when the value of the risk indicator decreases as the value of each of the predictor variable increases. In some aspects, the risk assessment application generalizes to produce neural network models with multiple hidden layers such that the modeled score P(Y=1) is monotonic with respect to each predictor variable.

In some aspects, in block 308, the risk assessment application can apply a coefficient method for determining the monotonicity of a relationship between each predictor and the risk indicator. In some aspects, the coefficient method can be used to determine how one or more predictor variables influence the credit score or other risk indicator. The coefficient method can ensure that a modeled relationship between the predictor variables and the credit score or risk indicator has a trend that matches or otherwise corresponds to a trend identified using an exploratory data analysis for a set of sample consumer data (e.g., matches a trend identified in block 304).

For example, with reference to FIG. 4, the coefficient method can be executed by the risk assessment application to determine the monotonicity of a modeled relationship between each predictor variable X_(i) with P(Y=1). The coefficient method involves analyzing a change in P(Y=1) with respect to each predictor variable X_(i). This can allow the risk assessment application to determine the effect of each predictor variable X_(i) on risk indicator Y. P(Y=1) increases on an interval if Hδ increases. The risk assessment application can determine whether Hδ is increasing by analyzing a partial derivative

$\frac{\partial}{\partial X_{i}}{\left( {H\;\delta} \right).}$ For example, the risk assessment application can determine the partial derivative using the following equation:

$\begin{matrix} {{\frac{\partial}{\partial X_{i}}\left( {H\delta} \right)} = {{\sum\limits_{j = 1}^{m}{\delta_{j}{\frac{\partial}{\partial X_{i}}H_{j}}}} = {\sum\limits_{j = 1}^{m}{\beta_{ij}\delta_{j}\frac{\exp\;\left( {{- X}\beta^{j}} \right)}{\left( {1 + {\exp\;\left( {{- X}\beta^{j}} \right)}} \right)^{2}}}}}} & (7) \end{matrix}$

A modeled score can depend upon the cumulative effect of multiple connections between a predictor variable and an output probability (e.g., a risk indicator). In the equation (7) above, the score's dependence on each X_(i) can be an aggregation of multiple possible connections from X_(i) to P(Y=1). Each product β_(ij) δ_(j) in the summation of the equation (7) above can represent the coefficient mapping from X_(i) to P(Y=1) through H_(i). The remaining term in the product of the equation above can be bounded by

${0 < \frac{\exp\left( {{- X}\beta^{j}} \right)}{\left( {1 + {\exp\left( {{- X}\beta^{j}} \right)}} \right)^{2}} \leq \frac{1}{4}}.$ In credit decision applications, this bounding can temper the effect on the contribution to points lost on each connection and can be dependent upon a consumer's position on the score surface. Contrary to traditional logistic regression scorecards, the contribution of a connection to the score P(Y=1) may vary for each consumer since

$\frac{\exp\left( {{- X}\beta^{j}} \right)}{\left( {1 + {\exp\left( {{- X}\beta^{j}} \right)}} \right)^{2}}$ is dependent upon the values of all the consumer's predictor variables.

If the number of hidden nodes is m=1, then the modeled score P(Y=1) is monotonic in every predictor variable X_(i), since equation (7) above, when set equal to 0, does not have any solutions. Therefore, Hδ does not have any critical points. Thus, P(Y=1) is either always increasing if the equation (7) above is positive, or always decreasing if the equation (7) above is negative, for every consumer in the sample.

The case of m=1 can be a limiting base case. A feed-forward neural network with a single hidden layer (e.g., the single-layer neural network 400 of FIG. 4) can be reduced to a model where P(Y=1) is monotonic in each predictor variable X_(i). Therefore, the process for optimizing the neural network, which utilizes the coefficient method described herein, can successfully terminate.

In another example and with reference to FIG. 5, similar to the aspect described for the single-layer neural network 400 of FIG. 4, the modeling process can produce models of the form represented in FIG. 5 that are monotonic in every predictor variable. A generalized version of the coefficient method described herein can be used in the risk modeling process. For example, the coefficient method can be generalized to assess the monotonicity of the modeled relationship of each predictor X_(i) with P(Y=1) for neural networks with the architecture described above with respect to FIG. 5. The risk assessment application is used to analyze the effect of X_(i) on the log-odds scale score H^(p)δ. The partial derivative is computed as:

$\begin{matrix} {{\frac{\partial}{\partial X_{i}}\left( {H^{p}\delta} \right)} = {\sum\limits_{j_{p} = 1}^{m_{p}}{\sum\limits_{j_{p - 1} = 1}^{m_{p - 1}}{\sum\limits_{j_{p - 2} = 1}^{m_{p - 2}}\mspace{14mu}{\ldots\mspace{14mu}{\sum\limits_{j_{2} = 1}^{m_{2}}{\sum\limits_{j_{1} = 1}^{m_{1}}{\delta_{j_{p}}\beta_{j_{p - 1}j_{p}}^{p}\beta_{j_{p - 2}j_{p - 1}}^{p - 1}\mspace{14mu}\ldots\mspace{14mu}\beta_{j_{2}j_{3}}^{3}\beta_{j_{1}j_{2}}^{2}{\beta_{{ij}_{1}}^{1}.{\varphi^{\prime}\left( {H^{p - 1}\beta_{.j_{p}}^{p}} \right)}}{\varphi^{\prime}\left( {H^{p - 2}\beta_{.j_{p - 1}}^{p - 1}} \right)}\mspace{14mu}\ldots\mspace{20mu}{\varphi^{\prime}\left( {H^{2}\beta_{.j_{3}}^{3}} \right)}{\varphi^{\prime}\left( {H^{1}\beta_{.j_{2}}^{2}} \right)}{{\varphi^{\prime}\left( {X\;\beta_{.j_{1}}^{1}} \right)}.}}}}}}}}} & (8) \end{matrix}$

As with single hidden layer neural networks (e.g., the single-layer neural network 400 of FIG. 4), the score's dependence on each X_(i) is an aggregation of all possible connections from X_(i) to P(Y=1). Since φ is a differentiable sigmoid function on

, φ′(x)>0 for every x∈

. The sign of equation (8) above depends upon a tempered aggregation of each product δ_(j) _(p) β_(j) _(p−1) _(j) _(p) ^(p)β_(j) _(p−2) _(j) _(p−1) ^(p−1). . . β_(j) ₂ _(j) ₃ ³β_(j) ₁ _(j) ₂ ²β_(ij) ₁ ¹, which maps X_(i) to P(Y=1) through the nodes H_(j) ₁ ¹, H_(j) ₂ ², . . . , H_(j) _(p) ^(p). If m₁=m₂= . . . =m_(p)=1, then equation (8) above, when set equal to 0, does not have any solutions. In this case, the modeled probability P(Y=1) is monotonic in each predictor X_(i). This is a limiting base case, and shows that a multiple hidden layer neural network (e.g., the multi-layer neural network 500 of FIG. 5) can be reduced to a model monotonic in each predictor. The generalized coefficient method can replace the coefficient method described above with respect to FIG. 4.

The development of a model involves numerous iterations of the risk model development process. Efficient computation and analysis of equations (7) or (8) above facilitates more robust model development for neural network architectures employing logistic activation functions, this can be attained by exploiting the symmetry of the logistic function and retaining intermediate output of the statistical software system. For example, a neural network with multiple hidden layer as depicted in FIG. 2 can have the following logistic activation function:

${\varphi(x)} = {\frac{1}{1 + e^{- x}}.}$ The derivative of the logistic function satisfies φ′(x)=φ(x)(1−φ(x)), Equation (8) above can be computed as

$\begin{matrix} {{\frac{\partial}{\partial X_{i}}\left( {H^{p}\delta} \right)} = {\sum\limits_{j_{p} = 1}^{m_{p}}{\sum\limits_{j_{p - 1} = 1}^{m_{p - 1}}{\sum\limits_{j_{p - 2} = 1}^{m_{p - 2}}\mspace{14mu}{\ldots\mspace{14mu}{\sum\limits_{j_{2} = 1}^{m_{2}}{\sum\limits_{j_{1} = 1}^{m_{1}}{\delta_{j_{p}}\beta_{j_{p - 1}j_{p}}^{p}\beta_{j_{p - 2}j_{p - 1}}^{p - 1}\mspace{14mu}\ldots\mspace{14mu}\beta_{j_{2}j_{3}}^{3}\beta_{j_{1}j_{2}}^{2}{\beta_{{ij}_{1}}^{1}.\varphi}\left( {H^{p - 1}\beta_{\cdot j_{p}}^{p}} \right)\left( {1 - {\varphi\left( {H^{p - 1}\beta_{.j_{p}}^{p}} \right)}} \right){\varphi\left( {H^{p - 2}\beta_{.j_{p - 1}}^{p - 1}} \right)}{\left( {1 - {\varphi\left( {H^{p - 2}\beta_{.j_{p - 1}}^{p - 1}} \right)}} \right).\ldots}\mspace{14mu}\varphi\left( {H^{2}\beta_{.j_{3}}^{3}} \right)\left( {1 - {\varphi\left( {H^{2}\beta_{.j_{3}}^{3}} \right)}} \right){\varphi\left( {H^{1}\beta_{.j_{2}}^{2}} \right)}\left( {1 - {\varphi\left( {H^{1}\beta_{.j_{2}}^{2}} \right)}} \right){\varphi\left( {X\;\beta_{.j_{1}}^{1}} \right)}{\left( {1 - {\varphi\left( {X\;\beta_{.j_{1}}^{1}} \right)}} \right).}}}}}}}}} & (9) \end{matrix}$

Each term φ(H^(k-1)β._(j) _(k) ^(k)) in equation (9) above is captured as intermediate output in software scoring systems, which can be leveraged to achieve efficient computation of the generalized coefficient method. The order statistics of the generalized coefficient method for each predictor in the model can be analyzed. This analysis can be used to make decisions in the iterative risk model development process described above.

Returning to FIG. 3, in block 310, the risk assessment application can determine if a relationship between the predictor variables and a risk indicator is monotonic (e.g., in block 308). If the relationship is monotonic, the risk assessment application proceeds to block 312, described below.

If the relationship between the predictor variables and the risk indicator is not monotonic, in block 314 the risk assessment application adjusts the neural network (e.g., the single-layer neural network 400 of FIG. 4 or the multi-layer neural network 500 of FIG. 5) by adjusting a number of nodes in the neural network, a predictor variable in the neural network, a number of hidden layers, or some combination thereof. Adjusting the predictor variables can include eliminating the predictor variable from the neural network. Adjusting the number of nodes in the neural network can include adding or removing a node from a hidden layer in the neural network. Adjusting the number of hidden layers in the neural network can include adding or removing a hidden layer in the neural network.

In some aspects, the risk assessment application can iteratively determine if a monotonic relationship exists between the predictor variables and a risk indicator (e.g., in block 310) and iteratively adjust a number of nodes or predictor variables in the neural network until a monotonic relationship exists between the predictor variables and the risk indicator. In one example, if the predictor variables are adjusted, the process can return to block 302, and the operations associated with blocks 302, 304, 306, 308, and 310 can be performed in the iteration, as depicted in FIG. 3. In another example, if the number of nodes or hidden layers is changed, the operations associated with blocks 306, 308, and 310 can be performed in the iteration. Each iteration can involve determining a correlation between each predictor variable and a positive or negative outcome to determine if a monotonic relationship exists between the predictor variables and a risk indicator. The risk assessment application can terminate the iteration if the monotonic relationship exists between each of the predictor variables and the risk indicator, or if a relationship between each of the predictor variables and the risk indicator corresponds to a relationship between each of the predictor variables and an odds index (e.g., the relationship between each of the predictor variables and the odds index determined in block 304).

In block 312, the neural network can be used for various applications if a monotonic relationship exists between each predictor variable and the risk indicator. For example, the risk assessment application can use the neural network to determine an effect or an impact of each predictor variable on the risk indicator after the iteration is terminated. The risk assessment application may also determine a rank of each predictor variable based on the impact of each predictor variable on the risk indicator. In some aspects, the risk assessment generates and outputs an adverse action code associated with each predictor variable that indicates the effect or the amount of impact that each predictor variable has on the risk indicator.

Optimizing the neural network in this manner can allow the risk assessment application to use the neural network to accurately determine risk indicators using predictor variables and accurately determine an adverse action code impact for each of the predictor variables. In some credit applications, the risk assessment application and neural networks described herein can be used for both determining a risk indicator (e.g., credit score) associated with an entity (e.g., an individual) based on predictor variables associated with the entity and determining an impact or an amount of impact of the predictor variable on the risk indicator.

In some aspects, the risk assessment application disclosed herein can identify appropriate adverse action codes from the neural network used to determine the credit score. The risk assessment application can rank adverse action codes based on the respective influence of each adverse action code on the credit score. Every predictor variable can be associated with an adverse action code. For example, a number of delinquencies can be associated with an adverse action code.

In some aspects, the risk assessment application uses the neural network to provide adverse action codes that are compliant with regulations, business policies, or other criteria used to generate risk evaluations. Examples of regulations to which the coefficient method conforms and other legal requirements include the Equal Credit Opportunity Act (“ECOA”), Regulation B, and reporting requirements associated with ECOA, the Fair Credit Reporting Act (“FCRA”), the Dodd-Frank Act, and the Office of the Comptroller of the Currency (“OCC”). The risk assessment application may provide recommendations to a consumer based on the adverse action codes. The recommendations may indicate one or more actions that the consumer can take to improve the change the risk indicator (e.g., improve a credit score).

In some aspects, the neural network optimization described herein can allow a risk assessment application to extract or otherwise obtain an assignment of an adverse action code from the neural network without using a logistic regression algorithm. The neural network can be used to determine a credit score or other risk indicator for an individual or other entity. The risk assessment application can use the same neural network to generate both a credit score or other risk indicator and one or more adverse action codes associated with the credit score or other risk indicator. The risk assessment application can generate the neural network in a manner that allows the neural network to be used for accurate adverse action code assignment.

The use of optimized neural networks can provide improved performance over solutions for generating credit scores that involve modeling predictor variables monotonically using a logistic regression model. For example, in these models, these solutions may assign adverse action codes using a logistic regression model to obtain a probability p=P(Y=1) of a binary random variable Y. An example of a logistic regression model is given by the following equation:

$\begin{matrix} {{{\log\left( \frac{p}{1 - p} \right)} = {{f\left( {X_{1},\ldots\mspace{14mu},X_{n}} \right)} = {{X\beta} = {\beta_{0} + {X_{1}\beta_{1}} + \ldots + {X_{n}\beta_{n}}}}}},} & (10) \end{matrix}$ such that

$\begin{matrix} {p = \frac{1}{1 + {\exp\left( {{- X}\beta} \right)}}} & (11) \end{matrix}$

The points lost per predictor variable may then be calculated as follows. Let x_(i) ^(m) be the value of the predictor variable X_(i) that maximizes ƒ(X₁, . . . , x_(i) ^(m), . . . , X_(n)). For an arbitrary function ƒ, x_(i) ^(m) may depend on other predictor variables. However, because of the additive nature of the logistic regression model, x_(i) ^(m) and the points lost for the predictor variable X_(i) do not depend upon the other predictor variables since ƒ(x ₁ ^(m) , . . . ,x _(i) ^(m) , . . . ,x _(n) ^(m))−ƒ(x ₁ ^(m) , . . . ,X _(i) , . . . ,x _(n) ^(m))=(β₀ +x ₁ ^(m)β₁+ . . . +β_(i) x _(i) ^(m)+ . . . +β_(n) x _(n) ^(m))−(β₀ +x ₁ ^(m)β₁+ . . . +β_(i) X _(i)+ . . . +β_(n) x _(n) ^(m))=β_(i)(x _(i) ^(m) −X _(i))  (12)

Since the logit transformation log

$\left( \frac{p}{1 - p} \right)$ is monotonically increasing in p, the same value x_(i) ^(m) maximizes p. Therefore, rank-ordering points lost per predictor variable is equivalent to rank-ordering the score loss. Hence, the rank-ordering of the adverse action codes is equivalent using the log-odds scale or the probability score scale. Moreover, ƒ is either always increasing in X_(i) if β_(i)>0, or always decreasing in X_(i) if β_(i)<0, since

${\frac{\partial}{\partial X_{i}}(f)} = {\beta_{i}.}$ Therefore x_(i) ^(m) is determined from the appropriate endpoint of the domain of X_(i) and does not depend upon the other predictor variables.

The equation (12) above may be used in contexts other than logistic regression, although the subsequent simplifications in equation (12) may no longer be applicable. For example, the risk assessment application can use the equation (12) above for any machine learning technique generating a score as ƒ(X₁, . . . , X_(n)).

For neural networks, the computational complexity of equation (12) may result from determining x_(i) ^(m) in a closed form solution as a function of other input predictor variables. In one example, determining x_(i) ^(m) in a closed form solution as a function of other input predictor variables involves setting equation (7) equal to 0 and explicitly solving for x_(i) ^(m). Contrary to logistic regression, solving for x_(i) ^(m) requires numerical approximation and can be dependent upon the other predictor variables. The storage and computing requirements to generate tables of numerical approximations for x_(i) ^(m) for all combinations of the other predictor variables can be impractical or infeasible for a processing device.

In some aspects, the risk assessment application constrains a neural network model to agree with observed monotonic trends in the data. The value x_(i) ^(m) of X_(i) that maximizes an output probability score can be explicitly determined by one endpoint of the predictor variable X_(i)'s domain. As a result, for each consumer, equation (12) can be leveraged to rank-order a number of points lost for each predictor variable. Adverse action codes can be associated with each predictor variable and the ranking can correctly assign the key reason codes to each consumer.

The risk assessment application can thus reduce the amount of computational complexity such that the same neural network model can be used by a computer-implemented algorithm to determine a credit score and the adverse action codes that are associated with the credit score. In prior solutions, the computational complexity involved in generating a neural network model that can be used for both determining credit scores and adverse action codes may be too high to use a computer-implemented algorithm using such a neural network model. Thus, in prior solutions, it may be computationally inefficient or computationally infeasible to use the same neural network to identify adverse action codes and generate a credit score. For example, a data set used to generate credit scores may involve financial records associated with millions of consumers. Numerically approximating the location of each consumer's global maximum score is computationally intractable using current technology in a run-time environment.

FIG. 6 is a flow chart depicting an example of a process for using a neural network to identify predictor variables with larger impacts on a risk indicator according to certain aspects of the present disclosure.

In block 602, an exploratory data analysis is performed for a data set having multiple predictor variables. In some aspects, a risk assessment application (e.g., the risk assessment application 102 of FIG. 1) or another suitable application can be used to perform the exploratory data analysis. The exploratory data analysis can involve analyzing a distribution of one or more predictor variables and determining a bivariate relationship or correlation between the predictor variable and some sort of risk indicator.

In block 604, a relationship between each predictor variable and a risk indicator, which is modeled using a neural network, is assessed to verify that the modeled relationship corresponds to a behavior of the predictor variable in the exploratory data analysis. In some aspects, a risk assessment application (e.g., the risk assessment application 102 of FIG. 1) or another suitable application can be used to perform one or more operations for implementing block 604. For example, the risk assessment application can perform one or more operations described above with respect to FIG. 3 for assessing the monotonicity of a relationship between a relationship between each predictor variable and a risk indicator as modeled using the neural network. The risk assessment application can be used to optimize or otherwise adjust a neural network such that the modeled relationship between the predictor variable and the risk indicator is monotonic, and therefore corresponds to the observed relationship between the predictor variable and the risk indicator in the exploratory data analysis.

In block 606, the neural network is used to determine a rank of each predictor variable based on an impact of the predictor variable on the risk indicator. In some aspects, a risk assessment application (e.g., the risk assessment application 102 of FIG. 1) or another suitable application can rank the predictor variables based on according to the impact of each predictor variable on the risk indicator. The risk assessment application can determine the ranks by performing one or more operations described above.

In block 608, a subset of the ranked predictor variables is selected. In some aspects, a risk assessment application (e.g., the risk assessment application 102 of FIG. 1) or another suitable application can select the subset of ranked predictor variables. For example, the risk assessment application can select a certain number of highest-ranked predictor variables (e.g., the first four predictor variables).

Any suitable device or set of computing devices can be used to execute the risk assessment application described herein. For example, FIG. 7 is a block diagram depicting an example of a risk assessment server 104 (e.g., the risk assessment server 104 of FIG. 1) that can execute a risk assessment application 102. Although FIG. 7 depicts a single computing system for illustrative purposes, any number of servers or other computing devices can be included in a computing system that executes a risk assessment application. For example, a computing system may include multiple computing devices configured in a grid, cloud, or other distributed computing system that executes the risks assessment application.

The risk assessment server 104 can include a processor 702 that is communicatively coupled to a memory 704 and that performs one or more of executing computer-executable program instructions stored in the memory 704 and accessing information stored in the memory 704. The processor 702 can include one or more microprocessors, one or more application-specific integrated circuits, one or more state machines, or one or more other suitable processing devices. The processor 702 can include any of a number of processing devices, including one. The processor 702 can include or may be in communication with a memory 704 that stores program code. When executed by the processor 702, the program code causes the processor to perform the operations described herein.

The memory 704 can include any suitable computer-readable medium. The computer-readable medium can include any electronic, optical, magnetic, or other storage device capable of providing a processor with computer-readable program code. Non-limiting examples of a computer-readable medium include a CD-ROM, DVD, magnetic disk, memory chip, ROM, RAM, an ASIC, a configured processor, optical storage, magnetic tape or other magnetic storage, or any other medium from which a computer processor can read instructions. The program code may include processor-specific instructions generated by a compiler or an interpreter from code written in any suitable computer-programming language, including, for example, C, C++, C#, Visual Basic, Java, Python, Perl, JavaScript, ActionScript, and PMML.

The risk assessment server 104 may also include, or be communicatively coupled with, a number of external or internal devices, such as input or output devices. For example, the risk assessment server 104 is shown with an input/output (“I/O”) interface 708 that can receive input from input devices or provide output to output devices. A bus 706 can also be included in the risk assessment server 104. The bus 706 can communicatively couple one or more components of the risk assessment server 104.

The risk assessment server 104 can execute program code for the risk assessment application 102. The program code for the risk assessment application 102 may be resident in any suitable computer-readable medium and may be executed on any suitable processing device. The program code for the risk assessment application 102 can reside in the memory 704 at the risk assessment server 104. The risk assessment application 102 stored in the memory 704 can configure the processor 702 to perform the operations described herein.

The risk assessment server 104 can also include at least one network interface 110 for communicating with the network 110. The network interface 710 can include any device or group of devices suitable for establishing a wired or wireless data connection to one or more data networks 110. Non-limiting examples of the network interface 710 include an Ethernet network adapter, a modem, or any other suitable communication device for accessing a data network 110. Examples of a network 110 include the Internet, a personal area network, a local area network (“LAN”), a wide area network (“WAN”), or a wireless local area network (“WLAN”). A wireless network may include a wireless interface or combination of wireless interfaces. As an example, a network in the one or more networks 110 may include a short-range communication channel, such as a Bluetooth or a Bluetooth Low Energy channel. A wired network may include a wired interface. The wired or wireless networks may be implemented using routers, access points, bridges, gateways, or the like, to connect devices in the network 110. The network 110 can be incorporated entirely within or can include an intranet, an extranet, or a combination thereof. In one example, communications between two or more systems or devices in the computing environment 100 can be achieved by a secure communications protocol, such as secure sockets layer (“SSL”) or transport layer security (TLS). In addition, data or transactional details may be encrypted.

The foregoing description of the examples, including illustrated examples, has been presented only for the purpose of illustration and description and is not intended to be exhaustive or to limit the subject matter to the precise forms disclosed. Numerous modifications, adaptations, and uses thereof will be apparent to those skilled in the art without departing from the scope of this disclosure. The illustrative examples described above are given to introduce the reader to the general subject matter discussed here and are not intended to limit the scope of the disclosed concepts. 

What is claimed is:
 1. A non-transitory computer-readable medium having program code that is executable by a processing device to perform operations, the operations comprising: retrieving an input set of predictor values for a set of predictor variables, wherein the input set of predictor values corresponds to a target entity; determining an output risk indicator by applying a neural network to the input set of predictor values, wherein the neural network is trained to compute values of a risk indicator from the set of predictor variables, and a monotonic relationship exists between each predictor variable and the risk indicator as computed by the neural network; determining, based on the neural network, impacts of the set of predictor variables, respectively, on the output risk indicator; generating, based on the neural network, an output set of explanatory codes based on the determined impacts of the set of predictor variables; generating an electronic communication that includes the output risk indicator and the output set of explanatory codes; and causing the electronic communication to be sent to a user device for display of the output risk indicator and the output set of explanatory codes at the user device.
 2. The non-transitory computer-readable medium of claim 1, wherein determining the impacts of the set of predictor variables on the output risk indicator comprises: for each predictor variable in the set of predictor variables, determining a difference between (1) a maximum output value of the neural network generated using an optimized value of the predictor variable and (2) an output value of the neural network generated using an input value of the predictor variable from the input set of predictor values.
 3. The non-transitory computer-readable medium of claim 2, wherein the optimized value of the predictor variable is an endpoint of a domain of the predictor variable.
 4. The non-transitory computer-readable medium of claim 1, wherein the operations further comprise determining ranks of two or more predictor variables in the set of predictor variables based on the impacts of the predictor variables on the output risk indicator, wherein the output set of explanatory codes are generated based on the ranks of the two or more predictor variables, and the output set of explanatory codes includes data describing a contribution of at least one of the two or more predictor variables to the output risk indicator.
 5. The non-transitory computer-readable medium of claim 1, wherein: the set of predictor variables having a first predictor variable and a second predictor variable; determining the impacts of the set of predictor variables on the output risk indicator comprises: determining a set of maximum predictor values including a first maximum value of the first predictor variable and a second maximum value of the second predictor variable, wherein applying the neural network to the set of maximum predictor values generates a maximum output value of the neural network, computing the impact of the first predictor variable on the output risk indicator by (i) modifying the set of maximum predictor values to replace only the first maximum value with a first input value of the first predictor variable from the input set of predictor values and (ii) computing a first difference between the maximum output value and a first modified output value that is generated by applying the neural network to the modified set of maximum predictor values, computing the impact of the second predictor variable to the output risk indicator by (i) modifying the set of maximum predictor values to replace only the second maximum value with a second input value of the second predictor variable from the input set of predictor values and (ii) computing a second difference between the maximum output value and a second modified output value that is generated by applying the neural network to the modified set of maximum predictor values; and generating the output set of explanatory codes based on the determined impacts of the set of predictor variables comprises: excluding, based on the first difference having a larger magnitude than the second difference, data describing the second predictor variable from the output set of explanatory codes.
 6. The non-transitory computer-readable medium of claim 5, wherein determining the set of maximum predictor values comprising obtaining a respective endpoint of a respective domain of a respective predictor variable as a respective maximum predictor value.
 7. The non-transitory computer-readable medium of claim 1, wherein the set of predictor variables indicate behavioral traits of entities.
 8. The non-transitory computer-readable medium of claim 1, wherein the output risk indicator corresponds to a credit score of the target entity.
 9. The non-transitory computer-readable medium of claim 1, wherein: the neural network comprises a plurality of nodes organized in connected layers, a first predictor variable is connected to an output of the neural network via a first set of connections among nodes in the connected layers, the values of the risk indicator are determined, at least in part, on a first set of operations applied using the first set of connections between the first predictor variable and the output of the neural network, a second predictor variable is connected to the output of the neural network via a second set of connections among nodes in the connected layers, and the values of the risk indicator are determined, at least in part, on a second set of operations applied using the second set of connections between the second predictor variable and the output of the neural network.
 10. A system comprising: one or more network interfaces configured for communicating with one or more user devices; one or more processing devices communicatively coupled to the one or more network interfaces; one or more memory devices in which instructions executable by the one or more processing devices are stored for causing the one or more processing devices to perform operations comprising: retrieving an input set of predictor values for a set of predictor variables, wherein the input set of predictor values corresponds to a target entity, determining an output risk indicator by applying a neural network to the input set of predictor values, wherein the neural network is trained to compute values of a risk indicator from the set of predictor variables, and a monotonic relationship exists between each predictor variable and the risk indicator as computed by the neural network; determining, based on the neural network, impacts of the set of predictor variables, respectively, on the output risk indicator; generating, based on the neural network, an output set of explanatory codes based on the determined impacts; generating one or more electronic communications that include the output risk indicator and the output set of explanatory codes; and configuring the one or more network interfaces to transmit the one or more electronic communications to the one or more user devices for display, at the one or more user devices, of the output risk indicator and the output set of explanatory codes.
 11. The system of claim 10, wherein determining the impacts of the set of predictor variables on the output risk indicator comprises: for each predictor variable in the set of predictor variables, determining a difference between (1) a maximum output value of the neural network generated using an optimized value of the predictor variable and (2) an output value of the neural network generated using an input value of the predictor variable from the input set of predictor values.
 12. The system of claim 11, wherein the optimized value of the predictor variable is an endpoint of a domain of the predictor variable.
 13. The system of claim 10, wherein the operations further comprise determining ranks of two or more predictor variables in the set of predictor variables based on the impacts of the predictor variables on the output risk indicator, wherein the output set of explanatory codes are generated based on the ranks of the two or more predictor variables, and the output set of explanatory codes includes data describing a contribution of at least one of the two or more predictor variables to the output risk indicator.
 14. The system of claim 10, wherein: the set of predictor variables having a first predictor variable and a second predictor variable; determining the impacts of the set of predictor variables on the output risk indicator comprises: determining a set of maximum predictor values including a first maximum value of the first predictor variable and a second maximum value of the second predictor variable, wherein applying the neural network to the set of maximum predictor values generates a maximum output value of the neural network, computing the impact of the first predictor variable on the output risk indicator by (i) modifying the set of maximum predictor values to replace only the first maximum value with a first input value of the first predictor variable from the input set of predictor values and (ii) computing a first difference between the maximum output value and a first modified output value that is generated by applying the neural network to the modified set of maximum predictor values, computing the impact of the second predictor variable to the output risk indicator by (i) modifying the set of maximum predictor values to replace only the second maximum value with a second input value of the second predictor variable from the input set of predictor values and (ii) computing a second difference between the maximum output value and a second modified output value that is generated by applying the neural network to the modified set of maximum predictor values; and generating the output set of explanatory codes based on the determined impacts of the set of predictor variables comprises: excluding, based on the first difference having a larger magnitude than the second difference, data describing the second predictor variable from the output set of explanatory codes.
 15. The system of claim 14, wherein determining the set of maximum predictor values comprising obtaining a respective endpoint of a respective domain of a respective predictor variable as a respective maximum predictor value.
 16. The system of claim 10, the operations further comprising configuring the one or more network interfaces to provide, via the one or more electronic communications, risk-modification recommendations based on the output set of explanatory codes.
 17. A method that includes one or more processing devices performing operations comprising: retrieving, from a database, an input set of predictor values for a set of predictor variables, wherein the input set of predictor values corresponds to a target entity; determining an output risk indicator by applying a neural network to the input set of predictor values, wherein the neural network is trained to compute values of a risk indicator from the set of predictor variables, and a monotonic relationship exists between each predictor variable and the risk indicator as computed by the neural network; determining, based on the neural network, impacts of the set of predictor variables, respectively, on the output risk indicator; generating, based on the neural network, an output set of explanatory codes based on the determined impacts of the set of predictor variables; generating an electronic communication that includes the output risk indicator and the output set of explanatory codes; and causing the electronic communication to be sent to a user device for display of the output risk indicator and the output set of explanatory codes at the user device.
 18. The method of claim 17, wherein determining the impacts of the set of predictor variables on the output risk indicator comprises: for each predictor variable in the set of predictor variables, determining a difference between (1) a maximum output value of the neural network generated using an optimized value of the predictor variable and (2) an output value of the neural network generated using an input value of the predictor variable from the input set of predictor values.
 19. The method of claim 18, wherein the optimized value of the predictor variable is an endpoint of a domain of the predictor variable.
 20. The method of claim 18, wherein the operations further comprise determining ranks of two or more predictor variables in the set of predictor variables based on the impacts of the predictor variables on the output risk indicator, wherein the output set of explanatory codes are generated based on the ranks of the two or more predictor variables, and the output set of explanatory codes includes data describing a contribution of at least one of the two or more predictor variables to the output risk indicator. 